/*********************************************************
          File Name:16.19.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 13 Dec 2015 04:48:50 PM CST
**********************************************************/

#include <iostream>
#include <vector>

template<typename T>
void print(T &container)
{
        auto size = container.size();
        typename T::size_type i = 0;

        for(; i < size; ++i)
                std::cout << container[i] << std::endl;
}

int main(void)
{
        std::vector<int> v{1, 2, 3};

        print(v);

        return 0;
}
